var QRCode = require("qrcode");
QRCode.toString(
  "https://www.taobao.com",
  {
    type: "terminal",
  },
  function (err, data) {
    console.log(data);
  },
);
